package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.AuthTeacherClassify;
import com.xmy.cultivate.entity.Staff;
import com.xmy.cultivate.mapper.AuthTeacherClassifyMapper;
import com.xmy.cultivate.service.IAuthTeacherClassifyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 教师分类 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-05-26
 */
@Service
public class AuthTeacherClassifyServiceImpl extends ServiceImpl<AuthTeacherClassifyMapper, AuthTeacherClassify> implements IAuthTeacherClassifyService {

    @Autowired
    AuthTeacherClassifyMapper authTeacherClassifyMapper;

    @Override
    public List<Staff> getTeacherByClassify(Integer isRepetition, Integer roleType, Integer type, String schoolId, String teacherName) {
        return authTeacherClassifyMapper.getTeacherByClassify(isRepetition, roleType, type, schoolId, teacherName);
    }
}
